﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/template/Theme.Master" CodeFile="register.aspx.cs" Inherits="register" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register TagPrefix="art" TagName="DefaultMenu" Src="~/DefaultMenu.ascx" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style1 {
            width: 164px;
        }
        .auto-style2 {
            width: 165px;
        }
        .auto-style3 {
            width: 165px;
            height: 26px;
        }
        .auto-style4 {
            height: 26px;
        }
    </style>
</asp:Content>
<asp:Content ID="MenuContent" ContentPlaceHolderID="MenuContentPlaceHolder" runat="Server">
    <art:DefaultMenu ID="DefaultMenuContent" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="art-post">
        <div class="header" style="height:10px">
            
        </div>
  
    </div>
        <blockquote>
            <h3>การจัดการทำคำวินิจฉัย</h3>
        </blockquote>
            <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" Width="100%"
                SelectedIndex="0" Skin="Web20">
                <Tabs>


                    <telerik:RadTab Text="บันทึกข้อมูลคำวินิจฉัย" runat="server">
                    </telerik:RadTab>
                    <telerik:RadTab Text="ลงทะเบียนจัดทำคำวินิจฉัย" runat="server" Selected="true">
                    </telerik:RadTab>
                </Tabs>
            </telerik:RadTabStrip>
            <telerik:RadFormDecorator ID="FormDecorator1" runat="server" DecoratedControls="all"></telerik:RadFormDecorator>
            <telerik:RadMultiPage runat="server" ID="RadMultiPage1" SelectedIndex="0">
                


































































































































































                <telerik:RadPageView runat="server" ID="RadPageView1">
                    <asp:UpdatePanel ID="up_panal1" runat="server">
                        <ContentTemplate>

                            <asp:Panel ID="Panel1" runat="server">


                                <table style="width:550px">
                                <tr class="tableHeader">
                                    <td class="auto-style2">เลือกประเภทสำนวน : </td>
                                    <td>
                                        <telerik:RadComboBox ID="ddl_CASE_TYPE_ID" runat="server" DropDownWidth="500px" NoWrap="true"></telerik:RadComboBox>
                                        <asp:CompareValidator ID="ddl_CASE_TYPE_IDValidator" runat="server"
                                        Display="Dynamic" ControlToValidate="ddl_CASE_TYPE_ID"></asp:CompareValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="auto-style2">เลือกประเภทคำวินิจฉัย :</td>
                                    <td>
                                        <telerik:RadComboBox ID="ddl_DECISION_TYPE_ID" runat="server" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" AutoPostBack="true"
                                            DropDownWidth="500px" AllowCustomText="true" NoWrap="true" OnSelectedIndexChanged="ddl_listDecisions_SelectedIndexChanged">
                                            <Localization AllItemsCheckedString="เลือกทั้งหมด" CheckAllString="เลือกทั้งหมด" ItemsCheckedString="รายการที่ถูกเลือก"/>
                                        </telerik:RadComboBox>
                                        <asp:RequiredFieldValidator ID="ddl_DECISION_TYPE_IDFieldValidator" runat="server"
                                        Display="Dynamic" ControlToValidate="ddl_DECISION_TYPE_ID"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr class="tableHeader" id="tr_choose" runat="server" visible="false">
                                    <td colspan="2">
                                        <telerik:RadTextBox TextMode="MultiLine" ID="txt_listDecision" runat="server" Width="550"/>
                                    </td>
                                </tr>
                                <tr id="TR_DECISION_TYPE_ETC" runat="server" visible="false">
                                    <td class="auto-style2">อื่นๆ :</td>
                                    <td>
                                        <asp:TextBox ID="txt_DECISION_TYPE_ETC" runat="server" TextMode="MultiLine"/>
                                    </td>
                                </tr>
                                </table>
                                <table>
                                    <tr>
                                        <td>คำวินิจฉัยสั่งการกกต  (ก่อนหรือหลัง)ประกาศผลการเลือกตั้ง :</td>
                                        <td>
                                            <asp:RadioButton ID="rd_NOTICE_before" runat="server" AutoPostBack="true" GroupName="NOTICE" Text="ก่อน" OnCheckedChanged="rd_NOTICE_after_CheckedChanged">
                                            </asp:RadioButton>
                                            <asp:RadioButton ID="rd_NOTICE_after" runat="server" AutoPostBack="true" GroupName="NOTICE" Text="หลัง" OnCheckedChanged="rd_NOTICE_after_CheckedChanged">
                                            </asp:RadioButton>
                                        </td>
                                    </tr>
                                </table>
                                <hr />


                                <table style="width:550px">
                                    <tr class="tableHeader">
                                        <td class="auto-style2">ที่ (ใช้เป็นเลขที่ค้นหาข้อมูล) :</td>
                                        <td>
                                            <asp:TextBox TextMode="MultiLine" ID="txt_CODE_NO" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="txt_CODE_NOFieldValidator" runat="server"
                                            Display="Dynamic" ControlToValidate="txt_CODE_NO"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="auto-style2">เลือกวันที่เริ่มจัดทำคำวินิจฉัย :</td>
                                        <td>
                                            <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal_CREATE_DECISION_DATE" Width="130px">
                                                <Calendar ID="Calendar4" runat="server" EnableKeyboardNavigation="true">
                                                </Calendar>
                                            </telerik:RadDatePicker>
                                            <asp:RequiredFieldValidator ID="cal_CREATE_DECISION_DATEFieldValidator" runat="server"
                                            Display="Dynamic" ControlToValidate="cal_CREATE_DECISION_DATE"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>

                                    <tr class="tableHeader">
                                        <td class="auto-style2">เลือกประเภทการเลือกตั้ง :</td>
                                        <td>
                                            <telerik:RadComboBox ID="ddl_VOTE_TYPE_ID" runat="server" DropDownWidth="500px" AutoPostBack="true" OnSelectedIndexChanged="ddl_VOTE_TYPE_ID_SelectedIndexChanged"></telerik:RadComboBox>
                                            <asp:CompareValidator ID="ddl_VOTE_TYPE_IDFieldValidator" runat="server"
                                            Display="Dynamic" ControlToValidate="ddl_VOTE_TYPE_ID"></asp:CompareValidator>
                                        </td>
                                    </tr>
                                </table>
                                <asp:Panel ID="PN_VOTE_TYPE1_2" runat="server" Visible="false">
                                    <table>
                                        <tr id="VOTE_TYPE1">
                                            <td class="auto-style2">แบบ :</td>
                                            <td>
                                                <asp:Panel ID="PN_VOTETYPE1" runat="server">
                                                    <asp:RadioButton ID="RD_VOTE_CASE1" runat="server" GroupName="VOTE_CASE1" Text="บัญชีรายชื่อ" Checked="true">
                                                    </asp:RadioButton>
                                                    <asp:RadioButton ID="RD_VOTE_CASE2" runat="server" GroupName="VOTE_CASE1" Text="เขตเลือกตั้ง">
                                                    </asp:RadioButton>
                                                </asp:Panel>
                                                <asp:Panel ID="PN_VOTETYPE2" runat="server">
                                                    <asp:RadioButton ID="RD_VOTE_CASE3" runat="server" GroupName="VOTE_CASE2" Text="สรรหา" Checked="true">
                                                    </asp:RadioButton>
                                                    <asp:RadioButton ID="RD_VOTE_CASE4" runat="server" GroupName="VOTE_CASE2" Text="เขตเลือกตั้ง">
                                                    </asp:RadioButton>
                                                </asp:Panel>
                                            </td>
                                        </tr>
                                        <tr id="TR_VOTE_TYPE1" runat="server" class="tableHeader">
                                            <td>เขตเลือกตั้งที่ :</td>
                                            <td>
                                                <telerik:RadTextBox ID="RD_COUNTY_NO" runat="server"></telerik:RadTextBox>
                                            </td>
                                        </tr>
                                        <tr id="Tr_Province">
                                            <td>จังหวัด :</td>
                                            <td>
                                                <telerik:RadComboBox ID="DDL_PROVINCE" runat="server" AutoPostBack="true" Filter="Contains" NoWrap="true" ZIndex="16000" OnSelectedIndexChanged="DDL_PROVINCE_SelectedIndexChanged"></telerik:RadComboBox>
                                                <asp:CompareValidator ID="DDL_PROVINCECompareValidator" runat="server"
                                                    Display="Dynamic" ControlToValidate="DDL_PROVINCE"></asp:CompareValidator>
                                            </td>
                                        </tr>

                                        <tr class="tableHeader">
                                            <td>อำเภอ :</td>
                                            <td>
                                                <telerik:RadComboBox ID="ddl_AUMPHER" runat="server" AutoPostBack="true" Filter="Contains" NoWrap="true" ZIndex="16000" OnSelectedIndexChanged="ddl_AUMPHER_SelectedIndexChanged"></telerik:RadComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>ตำบล :</td>
                                            <td>
                                                <telerik:RadComboBox ID="ddl_TUMBON" runat="server" Filter="Contains" NoWrap="true" ZIndex="16000"></telerik:RadComboBox>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>

                                <asp:Panel ID="PN_VOTE_TYPE3" runat="server" Visible="false">
                                    <table>

                                        <tr id="Tr1" class="tableHeader">
                                            <td>จังหวัด :</td>
                                            <td>
                                                <telerik:RadComboBox ID="DDL2_PROVINCE" runat="server" AutoPostBack="true" Filter="Contains" NoWrap="true" ZIndex="16000" OnSelectedIndexChanged="DDL2_PROVINCE_SelectedIndexChanged"></telerik:RadComboBox>
                                                <asp:CompareValidator ID="DDL2_PROVINCECompareValidator" runat="server"
                                                    Display="Dynamic" ControlToValidate="DDL2_PROVINCE"></asp:CompareValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>อำเภอ :</td>
                                            <td>
                                                <telerik:RadComboBox ID="ddl2_AUMPHER" runat="server" AutoPostBack="true" Filter="Contains" NoWrap="true" ZIndex="16000" OnSelectedIndexChanged="ddl2_AUMPHER_SelectedIndexChanged"></telerik:RadComboBox>
                                            </td>
                                        </tr>

                                        <tr class="tableHeader">
                                            <td>ตำบล :</td>
                                            <td>
                                                <telerik:RadComboBox ID="ddl2_TUMBON" runat="server" Filter="Contains" NoWrap="true" ZIndex="16000"></telerik:RadComboBox>
                                            </td>
                                        </tr>
                                     <tr>
                                        <td class="auto-style2">
                                            เลือก :
                                        </td>
                                        <td>
                                            <telerik:RadComboBox ID="DDL_DCS_MEMBER_TYPE" runat="server" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" AutoPostBack="true"
                                                DropDownWidth="500px" AllowCustomText="true" NoWrap="true" OnSelectedIndexChanged="ddl_listMasterType_SelectedIndexChanged">
                                                <Localization AllItemsCheckedString="เลือกทั้งหมด" CheckAllString="เลือกทั้งหมด" ItemsCheckedString="รายการที่ถูกเลือก"/>
                                            </telerik:RadComboBox>
                                            <asp:RequiredFieldValidator ID="DDL_DCS_MEMBER_TYPECompareValidator" runat="server"
                                                Display="Dynamic" ControlToValidate="DDL_DCS_MEMBER_TYPE"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr id="TR_CHOOSE_MASTER_TYPE" runat="server" visible="false" class="tableHeader">
                                        <td colspan="2">
                                            <telerik:RadTextBox TextMode="MultiLine" ID="txt_choose_master_type" runat="server" Width="550"/>
                                        </td>
                                    </tr>
                                    </table>
                                </asp:Panel>
                                <hr />

                                <table style="width:550px">

                                    <tr>
                                        <td class="auto-style1">
                                            มติครั้งที่ : 
                                        </td>
                                        <td>
                                            <telerik:RadTextBox ID="txt_RESULT_NO" runat="server" MaxLength="20"></telerik:RadTextBox>
                                        </td>
                                    </tr>
                                    <tr class="tableHeader">
                                        <td class="auto-style1">
                                            เลขวาระ : 
                                        </td>
                                        <td>
                                            <telerik:RadTextBox ID="txt_TERM_NO" runat="server" MaxLength="20"></telerik:RadTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="auto-style1">
                                            สำนวนที่ : 
                                        </td>
                                        <td>
                                            <telerik:RadTextBox ID="txt_CASE_NO" runat="server" MaxLength="20"></telerik:RadTextBox>
                                        </td>
                                    </tr>
                                    <tr class="tableHeader">
                                        <td class="auto-style1">
                                            รายละเอียดมติ : 
                                        </td>
                                        <td>
                                            <telerik:RadComboBox ID="ddl_RESULT_TYPE" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddl_RESULT_TYPE_SelectedIndexChanged"></telerik:RadComboBox>
                                            <asp:CompareValidator ID="ddl_RESULT_TYPEFieldValidator" runat="server"
                                            Display="Dynamic" ControlToValidate="ddl_RESULT_TYPE"></asp:CompareValidator>
                                        </td>
                                    </tr>
                                    </table>
                                <table id="TR_COURT_TYPE" runat="server" visible="false">

                                    <tr class="tableHeader">
                                        <td class="auto-style1">
                                    
                                            เลือกศาล :
                                    
                                        </td>
                                        <td>
                                            <asp:Panel ID="PN_COURT_TYPE" runat="server">
                                                <asp:RadioButton ID="RD_COURT_TYPE_ID1" runat="server" AutoPostBack="true" GroupName="COURT_TYPE_ID" Text="ศาลอุทธรณ์" Checked="true" OnCheckedChanged="RD_COURT_TYPE_ID3_CheckedChanged"></asp:RadioButton>
                                                <asp:RadioButton ID="RD_COURT_TYPE_ID2" runat="server" AutoPostBack="true" GroupName="COURT_TYPE_ID" Text="ศาลฏีกา" OnCheckedChanged="RD_COURT_TYPE_ID3_CheckedChanged"></asp:RadioButton>
                                                <asp:RadioButton ID="RD_COURT_TYPE_ID3" runat="server" AutoPostBack="true" GroupName="COURT_TYPE_ID" Text="ศาลรัฐธรรมนูญ" OnCheckedChanged="RD_COURT_TYPE_ID3_CheckedChanged"></asp:RadioButton>
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                    <tr id="TR_LB_COURT_TYPE0" runat="server" visible="false">
                                        <td class="auto-style1">
                                        </td>
                                        <td>ประเภทศาลอุทธรณ์ :</td>
                                    </tr>
                                    <tr id="TR_COURT_TYPE0" runat="server" class="tableHeader" visible="false">
                                        <td class="auto-style1"></td>
                                        <td>
                                            <asp:Panel ID="Panel5" runat="server">
                                                <telerik:RadComboBox ID="DDL_COURT_APPEALS_TYP_ID" Width="420" DropDownWidth="420" runat="server"></telerik:RadComboBox>
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                    <tr id="TR_COURT_CONSTITU_TYPE" runat="server">
                                        <td class="auto-style1">
                                        </td>
                                        <td>เลือกประเภทคำสั่ง :</td>
                                    </tr>
                                    <tr id="TR_COURT_CONSTITU_TYPE1" runat="server" visible="false" class="tableHeader">
                                        <td class="auto-style1"></td>
                                        <td>
                                            <asp:Panel ID="Panel4" runat="server">
                                                <telerik:RadComboBox ID="DDL_COURT_B_SUPREME_TYPE_ID" Width="420" DropDownWidth="420" runat="server"></telerik:RadComboBox>
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                    <tr id="TR_COURT_CONSTITU_TYPE2" runat="server" visible="false">
                                        <td class="auto-style1"></td>
                                        <td>
                                            <asp:Panel ID="Panel3" runat="server">
                                                <telerik:RadComboBox ID="DDL_COURT_A_SUPREME_TYPE_ID" Width="420" DropDownWidth="420" runat="server"></telerik:RadComboBox>
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                    <tr id="TR_COURT_CONSTITU_TYPE3" runat="server" visible="false" class="tableHeader">
                                        <td class="auto-style1"></td>
                                        <td>
                                            <asp:Panel ID="Panel2" runat="server">
                                                <telerik:RadComboBox ID="DDL_COURT_CONSTITU_TYPE" Width="420" DropDownWidth="420" runat="server"></telerik:RadComboBox>
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                </table>

                                <table style="width:550px">
                                <tr>
                                    <td class="auto-style1">
                                        ลงวันที่ : 
                                    </td>
                                    <td>
                                        <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal_SIGN_DATE" Width="130px">
                                            <Calendar ID="Calendar1" runat="server" EnableKeyboardNavigation="true">
                                            </Calendar>
                                        </telerik:RadDatePicker>
                                        <asp:Label ID="lb_alert" runat="server" />
                                        <%--<asp:RequiredFieldValidator ID="cal_SIGN_DATEFieldValidator" runat="server"
                                        Display="Dynamic" ControlToValidate="cal_SIGN_DATE"></asp:RequiredFieldValidator>--%>
                                    </td>
                                </tr>

                                <tr class="tableHeader">
                                    <td class="auto-style1">
                                        วันเลือกตั้ง : 
                                    </td>
                                    <td>
                                        <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal_VOTE_DATE" Width="130px">
                                            <Calendar ID="Calendar2" runat="server" EnableKeyboardNavigation="true">
                                            </Calendar>
                                        </telerik:RadDatePicker>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="auto-style1">
                                        วันประกาศผล : 
                                    </td>
                                    <td>
                                        <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="CAL_RESULT_DATE" Width="130px">
                                            <Calendar ID="Calendar3" runat="server" EnableKeyboardNavigation="true">
                                            </Calendar>
                                        </telerik:RadDatePicker>
                                        <asp:Label ID="lb_alert2" runat="server" />
                                        <%--<asp:RequiredFieldValidator ID="CAL_RESULT_DATERequiredFieldValidator" runat="server"
                                        Display="Dynamic" ControlToValidate="CAL_RESULT_DATE"></asp:RequiredFieldValidator>--%>
                                    </td>
                                </tr>

                                <tr class="tableHeader">
                                    <td class="auto-style1">
                                        ชื่อผู้ร้อง/ผู้คัดค้าน : 
                                    </td>
                                    <td>
                                        <asp:TextBox TextMode="MultiLine" ID="txt_REQUEST_NAME" runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="auto-style1">
                                        ชื่อผู้ถูกร้อง/ผู้ถูกคัดค้าน : 
                                    </td>
                                    <td>
                                        <asp:TextBox TextMode="MultiLine" ID="txt_RESPON_NAME" runat="server"></asp:TextBox>
                                    </td>
                                </tr>

                                <tr class="tableHeader">
                                    <td class="auto-style1">
                                        ข้อกล่าวหา : 
                                    </td>
                                    <td>
                                        <asp:TextBox TextMode="MultiLine" ID="txt_ALLEGATION" runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="auto-style1">
                                        ชื่อ-สกุลนิติกรผู้รับผิดชอบ : 
                                    </td>
                                    <td>
                                        <telerik:RadComboBox ID="ddl_LAWYER_ID" runat="server" Filter="Contains"></telerik:RadComboBox>
                                        <%--<asp:CompareValidator ID="ddl_LAWYER_IDCompareValidator" runat="server"
                                            Display="Dynamic" ControlToValidate="ddl_LAWYER_ID"></asp:CompareValidator>--%>
                                    </td>
                                </tr>
                                <tr class="tableHeader">
                                        <td class="auto-style1">
                                            เลขที่คำวินิจฉัย : 
                                        </td>
                                        <td>
                                            <telerik:RadTextBox ID="txt_DECISION_NO" runat="server" MaxLength="20"></telerik:RadTextBox>
                                        </td>
                                </tr>
                                <tr>
                                    <td class="auto-style1">
                                        หมายเหตุ : 
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_Remark" TextMode="MultiLine" runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                            </table>
                             <hr/>
                       <asp:Panel ID="popUpDep1" runat="server">
                    

                            <table class="predIcons">
                             <tr class="tableHeader">
                                <td colspan="3"><div align="center"><h3>จัดการงานอำนวยการสำนักวินิจฉัยและคดีรับสำนวน</h3></div></td>
                            </tr>
                            <tr class="tableHeader">
                                <td>เรื่อง</td>
                                <td>วันที่ทำรายการ</td>
                                <td>หมายเหตุ</td>
                            </tr>
                            <tr>
                                <td>อก.สวค. รับสำนวนวันที่:</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal_ACTION1_DATE" Width="130px">
                                        <Calendar ID="Calendar5" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="txt_REMART1" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>ผอ.สวค. จ่ายสำนวนวันที่: 	</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal_ACTION2_DATE" Width="130px">
                                        <Calendar ID="Calendar6" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="txt_REMART2" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>อก.ฝวค.1 - ฝวค.3 รับสำนวนวันที่:</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal_ACTION3_DATE" Width="130px">
                                        <Calendar ID="Calendar7" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="txt_REMART3" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>ผอ.ฝวค.1 - ฝวค.3 จ่ายสำนวนวันที่: 	</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal_ACTION4_DATE" Width="130px">
                                        <Calendar ID="Calendar8" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="txt_REMART4" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td colspan="2">
                                    <telerik:RadButton ID="chk011_Status" runat="server" ButtonType="StandardButton" 
                                        ToggleType="CustomToggle" AutoPostBack="true" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                        
                    </asp:Panel>
                            <table>
                                <tr>
                                    <td class="auto-style1">
                                    
                                    </td>
                                    <td>
                                        <telerik:RadButton ID="bt_save" runat="server" Text="บันทึก" OnClick="Save" ValidationGroup="validateSubmit"/>
                                        <telerik:RadButton ID="bt_reset" runat="server" Text="ล้างข้อมูล" OnClick="Reset"/>
                                    </td>
                                </tr>
                            </table>

                            </asp:Panel>
                            
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </telerik:RadPageView>

                
                <telerik:RadPageView ID="RadPageView2" runat="server">
                    <asp:UpdatePanel ID="updatePanel1" runat="server">
                        <ContentTemplate>
                            <asp:Panel ID="PanelSearch" runat="server">
                                <asp:HiddenField ID="hd_MASTER_ID" runat="server" />
                                <table>
                                    <tr>
                                        <td>กรอกข้อมูลเพื่อค้นหาข้อมูล :</td>
                                        <td>
                                            <asp:TextBox ID="txt_SearchVale" runat="server">
                                            </asp:TextBox>
                                        </td>
                                        <td>ค้นหาจาก :</td>
                                        <td>
                                            <telerik:RadComboBox ID="ddl_searchBy" runat="server">
                                            </telerik:RadComboBox>
                                        </td>
                                        <td>
                                            <telerik:RadButton ID="bt_searchBy" runat="server" Text="ค้นหา" ValidationGroup="validateSearch" OnClick="bt_searchBy_Click">
                                            </telerik:RadButton>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                    <asp:UpdatePanel ID="updatePanel4" runat="server">
                                    <ContentTemplate>
                            <div style="height:20px"></div>
                            <asp:Panel ID="PnResultSelect" runat="server" Visible="false">
                                
                                        <table cellpadding="0" cellspacing="0" border="0" class="predIcons">
                                    <tr>
                                        <td>เลือกประเภทสำนวน :</td>
                                        <td><asp:Label ID="lb_CASE_TYPE_NAME" runat="server"></asp:Label></td>
                                    </tr>
                                    <tr class="dark" style="vertical-align:top">
                                        <td>ประเภทคำวินิจฉัย  :</td>
                                        <td>
                                            <asp:Repeater ID="rp_Decision" runat="server">
                                                <ItemTemplate>
                                                    <div>
                                                        <asp:Label ID="lb_decision" runat="server" Text='<%#Eval("DECISION_NAME") %>'></asp:Label>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>คำวินิจฉัยสั่งการกกต :</td>
                                        <td><asp:Label ID="lb_NOTICE_NAME" runat="server"></asp:Label></td>
                                    </tr>
                                    <tr class="dark">
                                        <td>ที่ :</td>
                                        <td><asp:Label ID="lb_CODE_NO" runat="server"/></td>
                                    </tr>
                                    <tr>
                                        <td>วันที่เริ่มจัดทำคำวินิจฉัย :</td>
                                        <td><asp:Label ID="lb_CREATE_DECISION_DATE" runat="server"></asp:Label></td>
                                    </tr>
                                    <tr class="dark">
                                        <td>เลือกประเภทการเลือกตั้ง :</td>
                                        <td><asp:Label ID="lb_VOTE_NAME" runat="server"></asp:Label></td>
                                    </tr>

                                    <tr id="TR_VOTE_CASE_NAME" runat="server">
                                        <td>แบบ :</td>
                                        <td><asp:Label ID="lb_VOTE_CASE_NAME" runat="server"></asp:Label></td>
                                    </tr>
                                    
                                    <tr id="tr2_choose_master_type" runat="server" style="vertical-align:top">
                                        <td>รายการเลือกตั้ง</td>
                                        <td><asp:Label ID="lb_choose_master_type" runat="server" /></td>
                                    </tr>
                                    <tr class="dark" id="TR_COUNTY_NO" runat="server">
                                        <td>เขตเลือกตั้งที่ :</td>
                                        <td><asp:Label ID="lb_COUNTY_NO" runat="server" /></td>
                                    </tr>
                                    <tr>
                                        <td>จังหวัด :</td>
                                        <td><asp:Label ID="lb_PROVINCE_NAME" runat="server" /></td>
                                    </tr>
                                    <tr class="dark">
                                        <td>อำเภอ :</td>
                                        <td><asp:Label ID="lb_AMPHUR_NAME" runat="server" /></td>
                                    </tr>
                                    <tr>
                                        <td>ตำบล :</td>
                                        <td><asp:Label ID="lb_DISTRICT_NAME" runat="server" /></td>
                                    </tr>            
                                    <tr class="dark">
                                        <td>มติครั้งที่ :</td>
                                        <td><asp:Label ID="lb_RESULT_NO" runat="server"></asp:Label></td>
                                    </tr>
                                    <tr>
                                        <td>เลขวาระ :</td>
                                        <td><asp:Label ID="lb_TERM_NO" runat="server"></asp:Label></td>
                                    </tr>
                                    <tr class="dark">
                                        <td>สำนวนที่ :</td>
                                        <td><asp:Label ID="lb_CASE_NO" runat="server"></asp:Label></td>
                                    </tr>
                                    <tr>
                                        <td>รายละเอียดมติ :</td>
                                        <td><asp:Label ID="lb_RESULT_TYPE_NAME" runat="server"></asp:Label></td>
                                    </tr>
                                    <tr class="dark">
                                        <td>ประเภทศาล :</td>
                                        <td><asp:Label ID="lb_COURT_TYPE_NAME" runat="server"/> <asp:Label ID="lb_COURT_NAME" runat="server"/></td>
                                    </tr>
                                    <tr>
                                        <td>ลงวันที่ :</td>
                                        <td><asp:Label ID="lb_SIGN_DATE" runat="server" /></td>
                                    </tr>
                                    <tr class="dark">
                                        <td>วันเลือกตั้ง :</td>
                                        <td><asp:Label ID="lb_VOTE_DATE" runat="server" /></td>
                                    </tr>
                                    <tr>
                                        <td>วันประกาศผล :</td>
                                        <td><asp:Label ID="lb_RESULT_DATE" runat="server" /></td>
                                    </tr>
                                    <tr class="dark">
                                        <td>ชื่อผู้ร้อง/ผู้คัดค้าน :</td>
                                        <td><pre><asp:Label ID="lb_REQUEST_NAME" runat="server" /></pre></td>
                                    </tr>
                                    <tr>
                                        <td>ชื่อผู้ถูกร้อง/ผู้ถูกคัดค้าน :</td>
                                        <td><pre><asp:Label ID="lb_RESPON_NAME" runat="server" /></pre></td>
                                    </tr>
                                    <tr class="dark">
                                        <td>ข้อกล่าวหา :</td>
                                        <td><pre><asp:Label ID="lb_ALLEGATION" runat="server" /></pre></td>
                                    </tr>
                                    <tr>
                                        <td>ชื่อ-สกุลนิติกรผู้รับผิดชอบ :</td>
                                        <td>
                                            <%--<asp:Label ID="lb_LAW_FNAME" runat="server" /> <asp:Label ID="lb_LNAME" runat="server" />--%>
                                            <telerik:RadComboBox ID="ddl2_LAWYER_ID" runat="server" Filter="Contains"></telerik:RadComboBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>หมายเหตุ :</td>
                                        <td><pre><asp:TextBox TextMode="MultiLine" ID="txt2_Remark" runat="server" Height="100px" Width="400px" /></pre></td>
                                    </tr>
                                    <tr class="dark">
                                            <td class="auto-style1">
                                                เลขที่คำวินิจฉัย : 
                                            </td>
                                            <td>
                                                <asp:TextBox ID="lb_DECISION_NO" runat="server" MaxLength="20"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="lb_DECISION_NOFieldValidator" runat="server"
                                                    Display="Dynamic" ControlToValidate="lb_DECISION_NO"></asp:RequiredFieldValidator>
                                            </td>
                                    </tr>
                                </table>
                        <asp:Panel ID="viewDep1" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr class="tableHeader">
                                <td colspan="3"><div align="center"><h3>จัดการงานอำนวยการสำนักวินิจฉัยและคดีรับสำนวน</h3></div></td>
                            </tr>
                            <tr class="tableHeader">
                                <td>เรื่อง</td>
                                <td>วันที่ทำรายการ</td>
                                <td>หมายเหตุ</td>
                            </tr>
                            <tr>
                                <td>อก.สวค. รับสำนวนวันที่:</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal1_ACTION1_DATE" Width="130px">
                                        <Calendar ID="Calendar26" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="txt1_REMART1" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>ผอ.สวค. จ่ายสำนวนวันที่: 	</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal1_ACTION2_DATE" Width="130px">
                                        <Calendar ID="Calendar27" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="txt1_REMART2" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>อก.ฝวค.1 - ฝวค.3 รับสำนวนวันที่:</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal1_ACTION3_DATE" Width="130px">
                                        <Calendar ID="Calendar28" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="txt1_REMART3" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>ผอ.ฝวค.1 - ฝวค.3 จ่ายสำนวนวันที่: 	</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal1_ACTION4_DATE" Width="130px">
                                        <Calendar ID="Calendar29" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                                <td>
                                    <telerik:RadTextBox ID="txt1_REMART4" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td colspan="2">
                                    <telerik:RadButton ID="chk01_Status" runat="server" ButtonType="StandardButton" 
                                        ToggleType="CustomToggle" AutoPostBack="true" Skin="Metro" OnCheckedChanged="chk01_Status_CheckedChanged" OnClick="chk01_Status_CheckedChanged">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                            <table>
                                <tr>
                                    <td class="auto-style1">
                                    
                                    </td>
                                    <td>
                                        <telerik:RadButton ID="bt_Edit" runat="server" Text="แก้ใข" OnClick="Edit" ValidationGroup="validateEdit">
                                            <Icon PrimaryIconCssClass="rbSave" PrimaryIconLeft="4" PrimaryIconTop="4"></Icon>
                                        </telerik:RadButton>
                                    </td>
                                </tr>
                            </table>
                     
                    </asp:Panel>
                                <br />
                             
                                        <telerik:RadGrid ID="GridManageDecision" runat="server" MasterTableView-Caption="จัดการสถานะของคำวินิจฉัย"
                                            AutoGenerateColumns="False" AllowAutomaticUpdates="True" CellSpacing="0" GridLines="None" ShowStatusBar="True" Skin="Simple">
                                            <MasterTableView>
                                                <EditFormSettings>
                                                    <PopUpSettings Modal="true" />
                                                </EditFormSettings>
                                                <Columns>
                                                    <telerik:GridTemplateColumn FilterControlAltText="Filter column column" HeaderText="สถานะ" UniqueName="column">
                                                        <ItemTemplate>
                                                            <asp:ImageButton ID="img_Status" runat="server" ImageUrl="~/resources/images/icon_complete.gif" Visible='<%#Eval("status")!=null && Eval("status").ToString()=="2" %>'/>
                                                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/resources/images/icon_incomplete.gif" Visible='<%#Eval("status")==null || Eval("status").ToString()!="2" %>'/>
                                                        </ItemTemplate>
                                                    </telerik:GridTemplateColumn>
                                                    <telerik:GridBoundColumn DataField="STEP_NAME" FilterControlAltText="Filter column1 column" HeaderText="ชื่อขั้นตอน" UniqueName="column1">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridTemplateColumn FilterControlAltText="Filter column column" HeaderText="" UniqueName="column">
                                                        <ItemTemplate>
                                                            <telerik:RadButton ID="bt_printRow3" runat="server" Text="แก้ไข" OnClick="InitPopupDecision" Visible='<%#RenderEdit(Eval("status")) %>' CommandArgument='<%#Eval("STEP_ID") %>'>
                                                                <Icon PrimaryIconCssClass="rbNext" PrimaryIconLeft="4" PrimaryIconTop="4"></Icon>
                                                            </telerik:RadButton>
                                                            <telerik:RadButton ID="RadButton4" runat="server" Text="แสดงรายละเอียด" OnClick="InitPopupDecision" Visible='<%#RenderView(Eval("status")) %>' CommandArgument='<%#Eval("STEP_ID") %>'>
                                                                <Icon PrimaryIconCssClass="rbSearch" PrimaryIconLeft="4" PrimaryIconTop="4"></Icon>
                                                            </telerik:RadButton>
                                                        </ItemTemplate>
                                                    </telerik:GridTemplateColumn>
                                                </Columns>
                                            </MasterTableView>
                                            <FilterMenu EnableImageSprites="False">
                                            </FilterMenu>
                                        </telerik:RadGrid>
                            </asp:Panel>
                                        </ContentTemplate>
                        </asp:UpdatePanel>
                </telerik:RadPageView>
            </telerik:RadMultiPage>
    
    <telerik:RadWindow ID="modalPopup" runat="server" Width="1024" Height="350" Modal="true" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep" runat="server">

                        <asp:Panel ID="pn_Recp" runat="server">
                     
                            <div>
                                <h3>ผลลัพธ์การค้นหาข้อมูลคำวินิจฉัย</h3>
                            </div>
                            <asp:Panel ID="pn_result" runat="server">
                                <asp:UpdatePanel ID="up_res" runat="server">
                                    <ContentTemplate>
                                        <telerik:RadGrid ID="GridResult" runat="server" AllowPaging="true" AllowSorting="True"
                                            ViewStateMode="Enabled" onpagesizechanged="GridResultADmin_PageSizeChanged" OnPageIndexChanged="GridResultDmin_PageIndexChanged" 
                                            AutoGenerateColumns="False" GridLines="None" ShowStatusBar="True" Skin="Default">
                                            <PagerStyle Mode="NextPrevAndNumeric" Position="TopAndBottom"></PagerStyle>
                                            <MasterTableView>
                                                <NoRecordsTemplate>
                                                  <div align="center">
                                                    <asp:Label ID="lb_nodata" runat="server" Text="ไม่พบข้อมูล"></asp:Label>
                                                  </div>
                                                </NoRecordsTemplate>
                                                <Columns>
                                                    <telerik:GridTemplateColumn FilterControlAltText="Filter column column" HeaderText="ลำดับ" UniqueName="column">
                                                        <ItemTemplate>
                                                            <telerik:RadButton ID="bt_printRow1" runat="server" Text="เลือก" OnClick="SelectRow" CommandArgument='<%#Eval("MASTER_ID") %>'>
                                                                <Icon PrimaryIconCssClass="rbOk" PrimaryIconLeft="4" PrimaryIconTop="4"></Icon>
                                                            </telerik:RadButton>
                                                            <telerik:RadButton ID="bt_CancelMaster" runat="server" Text="ยกเลิก" OnClick="DeleteRow" Visible='<%#Decision.athen.UserAthen.UserLogin.USER_GROUP_LVL == 0 %>' CommandArgument='<%#Eval("MASTER_ID") %>'>
                                                                <Icon PrimaryIconCssClass="rbCancel" PrimaryIconLeft="4" PrimaryIconTop="4"></Icon>
                                                            </telerik:RadButton>
                                                        </ItemTemplate>
                                                    </telerik:GridTemplateColumn>
                                                    <telerik:GridTemplateColumn HeaderText="เลขที่" UniqueName="column1">
                                                        <ItemTemplate>
                                                          <asp:Label ID="numberLabel" runat="server" Text='<%#Eval("CODE_NO") %>'/>
                                                        </ItemTemplate>
                                                    </telerik:GridTemplateColumn>
                                                    <telerik:GridBoundColumn DataField="TERM_NO" FilterControlAltText="Filter column1 column" HeaderText="เลขวาระ" UniqueName="column1">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridTemplateColumn HeaderText="ชื่อนิติกรที่ดูแล" UniqueName="column1">
                                                        <ItemTemplate>
                                                          <asp:Label ID="lb_fname" runat="server" Text='<%#Eval("LAW_FNAME") %>' /> <asp:Label ID="lb_lname" runat="server" Text='<%#Eval("LNAME") %>' />
                                                        </ItemTemplate>
                                                    </telerik:GridTemplateColumn>
                                                    <telerik:GridBoundColumn DataField="RESULT_NO" FilterControlAltText="Filter column2 column" HeaderText="มติ" UniqueName="column2">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="REQUEST_NAME" FilterControlAltText="Filter column2 column" HeaderText="ชื่อผู้ร้องและถูกร้อง" UniqueName="column2">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="ALLEGATION" FilterControlAltText="Filter column2 column" HeaderText="ข้อกล่าวหา" UniqueName="column2">
                                                    </telerik:GridBoundColumn>
                                                </Columns>
                                                <EditFormSettings>
                                                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                                    </EditColumn>
                                                </EditFormSettings>
                                            </MasterTableView>
                                            <FilterMenu EnableImageSprites="False">
                                            </FilterMenu>
                                        </telerik:RadGrid>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </asp:Panel>

                        </asp:Panel>
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>
   
    <telerik:RadWindow ID="modalPopup1" runat="server" Width="650" Height="400" Modal="true" Title="ให้ถอนชื่อจากบัญชีรายชื่อ" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanelmodalPopup1" runat="server">
                <ContentTemplate>















































































                    
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup2" runat="server" Width="650" Height="400" Modal="true" Title="นิติกรรับสำนวน" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep2" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr class="tableHeader">
                                <td colspan="3"><div align="center"><h3>จัดการนิติกรรับสำนวน</h3></div></td>
                            </tr>
                            <tr>
                                <td>วันที่ทำรายการ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal2_ACTION_DATE" Width="130px">
                                        <Calendar ID="Calendar9" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>ขยายเวลาครั้งที่ 1 ต่อเลขาฯ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal2_WARN1_DATE" Width="130px">
                                        <Calendar ID="Calendar10" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr>
                                <td>ขยายเวลาครั้งที่ 2 ต่อกกต. :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal2_WARN2_DATE" Width="130px">
                                        <Calendar ID="Calendar11" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>หมายเหตุ :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt2_REMART" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk02_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td colspan="2" style="text-align:center">
                                    <telerik:RadButton ID="RadButton1" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_02"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup3" runat="server" Width="650" Height="400" Modal="true" Title="เสนอร่างคำวินิจฉัย" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel5" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep3" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr>
                                <td>วันที่ทำรายการ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal3_ACTION_DATE" Width="130px">
                                        <Calendar ID="Calendar12" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>หมายเหตุ :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt3_REMART" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk03_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" style="text-align:center">
                                    <telerik:RadButton ID="RadButton2" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_03"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup4" runat="server" Width="650" Height="400" Modal="true" Title="เสนอร่างคำวินิจฉัย" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel6" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep4" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr>
                                <td>วันที่ทำรายการ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal4_ACTION_DATE" Width="140px">
                                        <Calendar ID="Calendar13" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>หมายเหตุ :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt4_REMART" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk04_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td colspan="2" style="text-align:center">
                                    <telerik:RadButton ID="RadButton3" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_04"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup5" runat="server" Width="650px" Height="300px" Modal="true" Title="กกต.ลงนาม" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel7" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep5" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr>
                                <td>วันที่ทำรายการ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal5_ACTION_DATE" Width="150px">
                                        <Calendar ID="Calendar14" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>เลขที่คำวินิจฉัย :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt5_DECISION_NO" runat="server" MaxLength="50"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>วันที่ลงคำรับวินิจฉัย :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal_DECISION_DATE" Width="150px">
                                        <Calendar ID="Calendar15" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>หมายเหตุ :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt5_REMARk" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk05_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td colspan="2" style="text-align:center">
                                    <telerik:RadButton ID="RadButton5" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_05"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup6" runat="server" Width="500" Height="250" Modal="true" Title="ยกร่างคำร้อง" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel8" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep6" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr>
                                <td>วันที่ทำรายการ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal6_ACTION_DATE" Width="160px">
                                        <Calendar ID="Calendar16" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>หมายเหตุ :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt6_REMART" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk06_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td colspan="2" style="text-align:center">
                                    <telerik:RadButton ID="RadButton6" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_06"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup7" runat="server" Width="650" Height="400" Modal="true" Title="ยื่นคำร้อง" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanelmodalPopup7" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep7" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr class="tableHeader">
                                <td colspan="2">
                                    <div align="center"><h3>กกต.ลงนาม</h3></div>
                                </td>
                            </tr>
                            <tr class="tableHeader">
                                <td>ลงวันที่ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal7_ACTION_DATE">
                                        <Calendar ID="Calendar18" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr>
                                <td>คดีหมายเลขดำที่ ลต:</td>
                                <td>
                                    <telerik:RadTextBox ID="txt7_CASE_BLACK_NO" runat="server" MaxLength="50"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>วันที่ลงคำรับวินิจฉัย :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal7_CASE_BLACK_NO">
                                        <Calendar ID="Calendar17" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr>
                                <td>ศาล :</td>
                                <td>
                                    <telerik:RadComboBox ID="ddl7_SIGN_CASE_TYPE_ID" runat="server"></telerik:RadComboBox>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>แจ้งจังหวัด :</td>
                                <td>
                                    <telerik:RadComboBox ID="ddl7_PROVINCE" runat="server" Filter="Contains"></telerik:RadComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk07_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
							<tr class="dark">
                                <td>หมายเหตุ : </td>
                                <td>
                                    <telerik:RadTextBox ID="txt7_REMARK" runat="server" TextMode="MultiLine"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3" style="text-align:center">
                                    <telerik:RadButton ID="bt_Save7" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_07"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup8" runat="server" Width="500" Height="250" Modal="true" Title="ฟังคำสั่งรับ/ไม่รับ คำร้อง" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel9" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep8" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr>
                                <td>วันที่ทำรายการ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal8_ACTION_DATE" Width="180px">
                                        <Calendar ID="Calendar19" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>หมายเหตุ :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt8_REMART" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk08_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td colspan="2" style="text-align:center">
                                    <telerik:RadButton ID="RadButton8" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_08"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup9" runat="server" Width="500" Height="250" Modal="true" Title="ตรวจพยานหลักฐาน" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel10" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep9" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr>
                                <td>วันที่ทำรายการ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal9_ACTION_DATE">
                                        <Calendar ID="Calendar20" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>หมายเหตุ :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt9_REMARK" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk09_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td colspan="2" style="text-align:center">
                                    <telerik:RadButton ID="RadButton9" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_09"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup10" runat="server" Width="500" Height="250" Modal="true" Title="ส่งหมายเรียกพยานและบันทึกคำพยาน" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel11" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep10" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr>
                                <td>วันที่ทำรายการ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal10_ACTION_DATE">
                                        <Calendar ID="Calendar21" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>หมายเหตุ :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt10_REMARK" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk10_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td colspan="2" style="text-align:center">
                                    <telerik:RadButton ID="RadButton10" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_010"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup11" runat="server" Width="500" Height="250" Modal="true" Title="ยื่นคำแถลงรายงานการส่งหมาย/บันทึกคำพยาน" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel12" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep11" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr>
                                <td>วันที่ทำรายการ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal11_ACTION_DATE">
                                        <Calendar ID="Calendar22" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>หมายเหตุ :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt11_REMARK" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk11_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td colspan="2" style="text-align:center">
                                    <telerik:RadButton ID="RadButton11" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_011"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup12" runat="server" Width="500" Height="250" Modal="true" Title="สืบพยาน" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel13" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep12" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr>
                                <td>วันที่ทำรายการ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal12_ACTION_DATE">
                                        <Calendar ID="Calendar23" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>หมายเหตุ :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt12_REMARK" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk12_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td colspan="2" style="text-align:center">
                                    <telerik:RadButton ID="RadButton12" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_012"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup13" runat="server" Width="500" Height="250" Modal="true" Title="ยื่นคำแถลงการณ์ปิดคดี" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel14" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep13" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr>
                                <td>วันที่ทำรายการ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal13_ACTION_DATE">
                                        <Calendar ID="Calendar24" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>หมายเหตุ :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt13_REMARK" runat="server" TextMode="MultiLine" Rows="1"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk13_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td colspan="2" style="text-align:center">
                                    <telerik:RadButton ID="RadButton13" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_013"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup14" runat="server" Width="500" Height="300" Modal="true" Title="ฟังคำสั่งศาล" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel15" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep14" runat="server">

                        <table class="predIcons" style="width:100%">
                            <tr>
                                <td>วันที่ทำรายการ :</td>
                                <td>
                                    <telerik:RadDatePicker runat="server" AutoPostBack="true" ID="cal14_ACTION_DATE">
                                        <Calendar ID="Calendar25" runat="server" EnableKeyboardNavigation="true">
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>คดีหมายเลขแดงที่ :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt14_CASE_RED_NO" runat="server"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>ผลของคำสั่งศาล :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt14_RESULT_CASE" runat="server"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td>
                                    <telerik:RadComboBox ID="ddl_INJUNCTION_COURT_ID" runat="server" DropDownWidth="300" AutoPostBack="true" OnSelectedIndexChanged="ddl_INJUNCTION_COURT_ID_SelectedIndexChanged"></telerik:RadComboBox>
                                    <asp:Panel ID="pn_INJUNCTION_COURT" runat="server" Visible="false">
                                        <asp:TextBox ID="txt_ETC_INJUNCTION_COURT" runat="server" TextMode="MultiLine"/>
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>แจ้งจังหวัด :</td>
                                <td>
                                    <telerik:RadComboBox ID="ddl14_PROVINCE" runat="server"></telerik:RadComboBox>
                                </td>
                            </tr>
                            <tr>
                                <td>หมายเหตุ :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt14_REMARK" runat="server"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk14_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" style="text-align:center">
                                    <telerik:RadButton ID="bt_Save14" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_014"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadWindow ID="modalPopup15" runat="server" Width="600" Height="300" Modal="true" Title="ส่งสำนวนจัดเก็บ" Skin="Office2010Blue">
        <ContentTemplate>
            <asp:UpdatePanel ID="UpdatePanel16" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="popUpDep15" runat="server">
                        <table class="predIcons" style="width:100%">
                            <tr id="pn_fileDownload" runat="server" Visible="false">
                                <td>เอกสาร : </td>
                                <td> 
                                    <asp:LinkButton ID="lk_FileDownload" runat="server" OnClick="lk_FileDownload_Click"></asp:LinkButton>
                                    <telerik:RadButton ID="bt_NewUpload" runat="server" Text='ส่งไฟล์ใหม่' OnClick="NewUpload">
                                        <Icon PrimaryIconCssClass="rbEdit" PrimaryIconLeft="4" PrimaryIconTop="3"></Icon>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr id="tr_fileUpload" runat="server" Visible="false">
                                <td>แนบไฟล์ :</td>
                                <td>
                                    <telerik:RadAsyncUpload ID="file_DOC_NAME" MultipleFileSelection="Disabled" MaxFileInputsCount="1" runat="server" TemporaryFolder="D:\temp" OnFileUploaded="DocUpload1_FileUploaded"></telerik:RadAsyncUpload>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td>เลขที่จัดเก็บสำนวน :</td>
                                <td>
                                    <telerik:RadTextBox ID="txt15_RECORD_NO" runat="server"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>สถานะ :</td>
                                <td>
                                    <telerik:RadButton ID="chk15_Status" runat="server" ButtonType="StandardButton"
                                        ToggleType="CustomToggle" AutoPostBack="false" Skin="Metro">
                                        <ToggleStates>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbCancel" Text="ยังไม่เสร็จ" Value="0"></telerik:RadButtonToggleState>
                                            <telerik:RadButtonToggleState SecondaryIconCssClass="rbOk" Text="เสร็จ" Value="2"></telerik:RadButtonToggleState>
                                        </ToggleStates>
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr class="dark">
                                <td colspan="2" style="text-align:center">
                                    <telerik:RadButton ID="bt_Save15" runat="server" Text="บันทึก" OnClick="Save_DCS_STEP_015"></telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                     
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>

    <telerik:RadCodeBlock runat="server" ID="RadCodeBlock1">
        <script type="text/javascript">
            function showDialogPopupInitially() {
                var wnd = $find("<%=modalPopup.ClientID %>");
                wnd.show();
                //Sys.Application.remove_load(showDialogInitially);
            }
            function closeDialogInitially() {
                try {
                    var wnd = $find("<%=modalPopup.ClientID %>");
                    wnd.close();
                } catch (err) { }
            }
        </script>
    </telerik:RadCodeBlock>
    <asp:UpdatePanel ID="JSUpdate" runat="server">
        <ContentTemplate></ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>